home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 001a / mud031.zip / MUDD.DOC next >
Text File  |  1991-10-26  |  17KB  |  431 lines

  1. MUDD v0.31 (Method unto Dialing Directories)
  2. ===========================================
  3.  
  4. a ProComm Plus v2.x utility
  5. designed and programmed by Hugh M. McNally for
  6. Reservoir Software, Copyright 1991
  7. All Rights Reserved
  8.  
  9. Hugh M. McNally
  10. Reservoir Software
  11. 1 Cabin Ridge Road
  12. Chappaqua, NY 10514
  13. 914-923-1644
  14. CompuServe: 70441,3716 (best chance of catching me)
  15. GEnie: hmcnally3
  16.  
  17.  
  18. BEERWARE Manifesto
  19. ------------------
  20.  
  21. MUDD is released to the computing public under the BEERWARE concept.  If you
  22. like this program and use it often as one of your "neat utilities," please
  23. send me $15 for a case of beer (cheap domestic beer, I assure you, or maybe
  24. just 2 six-packs of a higher calibre brew).  You could also send beer, but I
  25. doubt you'll do that due to the obvious expense involved.  If you happen to
  26. live near the above address, please take me out for a beer.
  27.  
  28. Some shareware authors ask for floppy disks in trade for their work.  Please
  29. do not send disks, tapes, pictures, videos, or worthless jewelery.  Just money
  30. or beer.
  31.  
  32. MUDD does not, and will never, have any stupid "shareware" screen pausing,
  33. "for more features, pay me" notices, or "limited number of runs."  Those of
  34. you who don't pay for this program (i.e., thieves) will have the same program
  35. as those of you who send me $15.  After all, a car thief doesn't steal a car
  36. with no engine.
  37.  
  38. This program is not public domain.
  39. This program is not free (it costs $15).
  40. If you pay me, I'll make sure you find out about upgrades.  I promise.
  41. If you pay me, I will acknowledge your kindness with EMail or a postcard.
  42. If you use MUDD without paying me, you're a thief of my intellectual property.
  43.  
  44.  
  45. With that said, I'll add these provisos:
  46.  
  47. o  If you find a bug in MUDD and are the first to report it to me, you have
  48.    satified the BEERWARE conditions.  Thank you for making MUDD a better
  49.    program.  (A typo in this document is not a bug.)
  50.  
  51. o  If you're too cheap to send me any money at all, you can ease your guilty
  52.    conscience (without any snide remarks from me in return) by sending EMail
  53.    or regular mail thanking me for having written this program.  At
  54.    least have a beer in my honor!
  55.  
  56.  
  57. ...and the disclaimer:
  58.  
  59. o  If MUDD screws up your dialing directories, your hard disk, or anything
  60.    else, either because MUDD has a bug or you plain misunderstood how to use
  61.    it,  too bad.  It's not my fault.  You should have backed up your
  62.    directories before using anything like this. Seriously, though, I have
  63.    tested this program rather extensively on many different platforms, and
  64.    would not release it to the public in good faith without believing that
  65.    it works.
  66.  
  67.  
  68. Purpose
  69. -------
  70.  
  71. MUDD is a utility that:
  72.  
  73. o  joins two ProComm 2.x dialing directories together into a third, "merged"
  74.    dialing directory.
  75.  
  76. o  "localizes" that merged dialing directory based on a supplied area code,
  77.    that is, strips your local area code from any number that is prefixed by
  78.    it.
  79.  
  80. o  sorts the merged directory in more ways than ProComm Plus could (ascending
  81.    and descending by name, number, etc.) far faster than ProComm does.
  82.  
  83. o  standardizes the format of phone numbers to be [x-xxx-]xxx-xxxx (no
  84.    parentheses, spaces, or what have you).  If you don't like numbers this
  85.    way, don't use MUDD.
  86.  
  87. o  strips any PBX '9' prefix from the numbers in the merged dialing directory
  88.    (you should have that in your dialing prefix, not in a phone number!).
  89.  
  90. o  eliminates "dead slots" from the target directory (you know, those ones in
  91.    the middle that you erase and can't get rid of until you sort the
  92.    directory).  If you choose not to sort the target .DIR file, empty slots
  93.    in one directory will be filled up by the other in the order they are found.
  94.  
  95.  
  96. In short, using this program should make your dialing directories as clear as,
  97. well, MUDD!
  98.  
  99.  
  100. MUDD packing list, et al
  101. ------------------------
  102.  
  103. MUDD comes in a file called MUDxxx.ZIP, where xxx is the version number
  104. (MUD030.ZIP would be v0.30).  If you didn't get it that way, "caveat emptor."
  105.  
  106. If you think MUDD is great and want to upload it to some BBS to increase your
  107. upload/download ratio, please use the original .ZIP.  This .ZIP is not
  108. "PK authenticated" because I know there's already programs out there that
  109. crack this admittedly noble attempt at virus thwarting.
  110.  
  111. MUDxxx.ZIP has 2 files as of this version:
  112.  
  113. MUDD.EXE
  114. MUDD.DOC
  115.  
  116. You're reading MUDD.DOC.  You can delete it after you have printed the MUDD
  117. order form at the end (and have sent me $15).  You don't need it to run the
  118. program MUDD.EXE.
  119.  
  120. MUDD runs from any directory.  You'll probably keep it in your ProComm
  121. directory (a good place, to be sure).  MUDD knows about the PCPLUS environment
  122. variable, and tacks it onto the start of any file spec that does not have any
  123. drive or path information in it (i.e., the characters "\" or ":").
  124.  
  125. MUDD also uses the ProComm standard .DIR extension for dialing directories
  126. unless you specifically use a different extension.  I don't know why you might
  127. do this (since ProComm itself lacks the ability to read directories not ending
  128. in .DIR), but you could use PCPLUS.WHY, as long as it was a valid dialing
  129. directory.  What MUDD will do if a file isn't a dialing directory can be fun,
  130. but the resulting merged file is usually as harmless as it is useless.
  131.  
  132. Unfortunately, MUDD does not run in a ProComm DOS shell.  Read the end of this
  133. document to find out why.
  134.  
  135.  
  136. Syntax
  137. ------
  138.  
  139. MUDD has at least 2 parameters, and at most, 7.  I'll try making this as
  140. painless as possible by enumerating each parameter and describing each
  141. separately:
  142.  
  143. MUDD <1> <2> [<3> <4> <5> <6> <7>]
  144.  
  145.  
  146. <1>   The sort key
  147.       o mandatory
  148.       o defaults: none
  149.  
  150. This is one of the following letters:
  151.  
  152. n: sort by Name                  (n- for descending sort)
  153. p: sort by Phone number          (p- for descending sort)
  154. b: sort by Baud rate             (b- for descending sort)
  155. t: sort by Total number of calls (t- for descending sort)
  156. l: sort by Last time called      (l- for descending sort)
  157. x: sort by Xfer protocol         (x- for descending sort)
  158. u: don't sort!
  159.  
  160. The letter will determine the sort order of the target file (the source files
  161. are NOT altered unless you happen to specify it as the target).  Put a minus
  162. sign ("-") after the letter to get a descending sort.  If you choose not to
  163. sort, duplicates between the two dialing directories will not be filtered in
  164. any way (yes, you'll have 2 of the same phone number in the target).
  165.  
  166. Sorts by phone number (ascending and descending) will put local (7 digit)
  167. phone numbers on top of the list.  This is usually the most desirable thing to
  168. do, so that's what MUDD does.  If you have an entry with no phone number (for
  169. example, a direct-connect null modem entry), that will be on top of the list.
  170.  
  171.  
  172. <2>   The first source file
  173.       o mandatory
  174.       o default: none
  175.  
  176. This is the filename of a dialing directory.  If you exclude the file
  177. extension, .DIR will be tacked on the end.  If you exclude a path/drive AND
  178. you have the PCPLUS environment variable set, it will be stuck on the
  179. beginning.  For example, this DOS sequence:
  180.  
  181. SET PCPLUS=C:\PCPLUS
  182. MUDD p topbbs
  183.  
  184. would make MUDD refer to the file C:\PCPLUS\TOPBBS.DIR.  If you didn't know
  185. about the PCPLUS environment variable, now you know; ProComm uses it, and so
  186. does MUDD.
  187.  
  188. The contents of this dialing directory get INSERTED INTO the contents of the
  189. next file.  This ordering of parameters might not make sense at first, but it
  190. allows you to specify just one file name on the command line, since the others
  191. have default values.
  192.  
  193. The file itself WILL NOT BE CHANGED unless you specify it as the target file.
  194.  
  195.  
  196. <3>   The second source file
  197.       o optional
  198.       o default: [PCPLUS environment variable +] PCPLUS.DIR
  199.  
  200. This is the directory that will be the RECIPIENT of the numbers in the first
  201. file.  Again, the actual file WILL NOT BE CHANGED unless you specify it as the
  202. target file.
  203.  
  204. MUDD p topbbs mylist
  205. --will insert the entries of TOPBBS.DIR into MYLIST.DIR.
  206.  
  207. MUDD p topbbs
  208. --will insert the entries of TOPBBS.DIR into PCPLUS.DIR.
  209.  
  210. If there are too many entries between the 2 source files (more than 200), you
  211. will be warned that an incomplete merge is about to take place, and you can
  212. stop short of creating the new merged file.
  213.  
  214.  
  215. <4>   The target file
  216.       o optional
  217.       o default: [PCPLUS environment variable +] MERGED.DIR
  218.  
  219. This is the ONLY file that is altered on disk.  The first two files are read
  220. into memory, merged, then written to this file.
  221.  
  222. A neat trick about the target file name is that you can specify the SAME file
  223. as either (or both) of the source files (yes, there's a good reason to both;
  224. see more near the end of this document).  As you gain confidence in MUDD, you
  225. will find yourself specifying the same file for the target as you do the
  226. second source file; however, at first, you might want to stay with the default
  227. target filename, MERGED.DIR.  You can look at this file with ProComm and
  228. decide for yourself whether to rename it to PCPLUS.DIR.
  229.  
  230. N.B.: The target will overwrite any existing file with the same name without
  231. warning.  This is a DOS command line utility, you know.  Actually, with the
  232. defaults as they are, you probably won't get into much trouble (unless you
  233. really become attached to MERGED.DIR).
  234.  
  235. MUDD p topbbs
  236. --inserts TOPBBS.DIR into PCPLUS.DIR and creates MERGED.DIR
  237.  
  238. MUDD p topbbs mylist newlist
  239. --inserts TOPBBS.DIR into MYLIST.DIR and creates NEWLIST.DIR
  240.  
  241. MUDD p topbbs pcplus pcplus
  242. --inserts TOPBBS.DIR into PCPLUS.DIR and creates a new PCPLUS.DIR
  243.  
  244.  
  245. <5>   The home area code of the first source file
  246.       o optional
  247.       o default: none (if you leave it out, local numbers remain)
  248.  
  249. This is an optional switch.  Switches start with "/".  So...
  250.  
  251. MUDD p njbbs /201
  252.  
  253. will add the area code 201 to all the local numbers in NJBBS.DIR when it
  254. creates the target file MERGED.DIR.  This is a a very handy feature!
  255.  
  256.  
  257. <6>   The home area code of the second source file
  258.       o optional
  259.       o default: none (if you leave it out, local numbers remain)
  260.  
  261. The same deal as <5>.  If you want this parameter but not the one before it
  262. (parameter <5>), just use a dummy parameter for <5>, like /999.  You can't
  263. leave out <5>, include <6>, and expect MUDD to know the difference.
  264.  
  265. MUDD p njbbs bronxbbs /201 /212
  266.  
  267. will add the area code 201 to all the local numbers in NJBBS.DIR, and 212 to
  268. all the local numbers in BRONXBBS.DIR, when it creates the target file
  269. MERGED.DIR.
  270.  
  271.  
  272. <7>   The home area code of the target file
  273.       o optional
  274.       o default: none (if you leave it out, no numbers from the source files)
  275.                  are changed)
  276.  
  277. Very similar to <5> and <6>, except that any numbers starting with this area
  278. code will have that area code stripped from it, thus generating local numbers
  279. for it.  The same deal about skipping area codes as explained above applies
  280. here.
  281.  
  282. MUDD p njbbs bronxbbs /201 /212 /914
  283.  
  284. will add the area code 201 to all the local numbers in NJBBS.DIR, and 212 to
  285. all the local numbers in BRONXBBS.DIR, when it creates the target file
  286. MERGED.DIR.  Any 914 numbers in either NJBBS or BRONXBBS will no longer have a
  287. 914 area code; the codes are stripped out for you.
  288.  
  289.  
  290. The Other Big Reason To Use MUDD
  291. --------------------------------
  292.  
  293. OK, MUDD merges dialing directories and cleans them up pretty nicely.  So what
  294. is the other big reason to use MUDD?  Well, if you were reading closely, you
  295. might remember I said that you could specify the same file for all the file
  296. parameters of MUDD.  The reason to do this is to change the area code of a
  297. given dialing directory.  When MUDD sees that the two source files are the
  298. same file spec, it skips merging the files and just processes the area codes.
  299. So here's the "piece de resistance" example:
  300.  
  301. MUDD p pcplus pcplus pcplus /201 /201 /914
  302.  
  303. ...changes PCPLUS.DIR from a 201 based dialing directory to a 914 based one.
  304.  
  305.  
  306.  
  307. Other technical tidbits
  308. -----------------------
  309.  
  310. o  If you have a dialing directory that has no local numbers (such as
  311.    those provided with ProComm Plus), no need to panic.  If you need to
  312.    fill out the parameters so that you can get that last area code, just
  313.    enter /999 (or any other 3-digit number > 99).  Since there's no
  314.    local numbers, it really doesn't matter!
  315.  
  316. o  MUDD will not work in a DOS shell out of ProComm Plus (the ALT-F4
  317.    command).  Evidently, ProComm leaves the current dialing directory
  318.    file open during a shell, so that any manipulation of it in a shell
  319.    causes wierd and bad things to happen (lost clusters on disk being
  320.    among them).  I have made it so that MUDD detects the ProComm DOS
  321.    shell based on how ProComm redefines the DOS promtt ("Type EXIT to
  322.    return to PROCOMM PLUS").  Having told you that, you can obviously
  323.    defeat MUDD's safeguard of not running in the DOS shell, but I
  324.    recommend that you please heed my warning.  At the very least, make
  325.    sure the target directory is not the one currently open in ProComm.
  326.    I hit this bug, and it's pretty nasty, especially when you realize
  327.    that your dialing directory has been lost.
  328.  
  329. o  There is a thing called a "dialing command" in ProComm Plus.  You
  330.    can see them by pressing P whilst in the "dial a number" command.  A
  331.    dialing directory has a header which contains its dialing
  332.    commands in them.  MUDD will take the dialing commands from the
  333.    second source file (parameter <6> or its default) and put it into the
  334.    target file (parameter <7>).
  335.  
  336.    I'm a long-time ProComm user, and didn't realize there was such a
  337.    thing as "dialing commands" until I wrote MUDD.  I know lots of other
  338.    ProComm users, and none of them use them, either.  If you use them,
  339.    MUDD might not be the program for you since, right now, MUDD
  340.    manipulates pure phone numbers, not numbers and dialing commands
  341.    together.
  342.  
  343. Epilogue
  344. --------
  345.  
  346. I hope you like MUDD.  I wrote it because I needed it (I work in NJ and I live
  347. in NY, and I collect BBS numbers at home and at work), and the programs I
  348. found in BBS land neither did what I wanted nor, even worse, worked.  I use
  349. MUDD myself and was quite pleased when it first became functional.
  350.  
  351. This program could go a lot of ways.  Please tell me what you think is a good
  352. one.  I will respond quickest and most directly to CompuServe EMail, followed
  353. by GEnie EMail, Internet mail (directed to my CompuServe account), and good
  354. old U.S. Mail.  You can call but, since I'm not Bill Gates and can't afford
  355. it, don't expect a call back.  I hope that, if you're a user of MUDD, you must
  356. be somewhat savvy about things like modems and EMail.  How did you get this
  357. program, anyway!
  358.  
  359.  
  360. Jokes I didn't use that I think you should know
  361. -----------------------------------------------
  362.  
  363. o  Here's MUDD in your eye!
  364. o  ...give your files a MUDD bath...
  365. o  ...go soak your head in MUDD.
  366. o  Don't be a stick in the MUDD.  Pay me!
  367.  
  368. Be forwarned: if you send me more jokes, it does NOT satisfy the BEERWARE
  369. requirement.
  370.  
  371.  
  372. Handy MUDD/BEERWARE Order Form (print one!)
  373. -------------------------------------------
  374.  
  375.  
  376. My name is: ______________________________________________________________
  377.  
  378. My address is: ___________________________________________________________
  379.  
  380.                ___________________________________________________________
  381.  
  382. My work phone number is: _________________________________________________
  383.  
  384. My home phone number is: _________________________________________________
  385.  
  386. What I do for a living: __________________________________________________
  387.  
  388. You can reach me electronically at: ______________________________________
  389. (please, a national service like
  390. CServe, GEnie, Internet, MCIMail)   ______________________________________
  391.  
  392. On a scale of 1 to 10, I give MUDD a: ____________________________________
  393.  
  394. On a scale of 1 to 10, I give ProComm a: _________________________________
  395.  
  396.  
  397. I think ProComm is the best telecommunications program going: TRUE / FALSE
  398.  
  399. I think QModem is much better than ProComm: TRUE / FALSE / WHAT'S QMODEM?
  400.  
  401. I think BEERWARE is a good marketing concept: TRUE / FALSE / OFFENDED
  402.  
  403.  
  404. When I sit in front of a computer, my colleagues might say, "look at
  405. him/her!  What a..."
  406.  
  407. o  loser (would have better luck sitting in front of a haystack)
  408. o  hopeless case (can't change a lightbulb)
  409. o  dreamer (can't use a fax machine)
  410. o  drone (uses computer because it's there)
  411. o  hacker/digit-head (thinks pizza is haute cuisine)
  412. o  computer weenie/nerd (thinks Mr. Spock is a sissy)
  413. o  loser (makes Bill Gates look like Warren Beatty)
  414.  
  415.  
  416. I got a laugh from this: TRUE / FALSE / MADE ME PAY YOU $15, DIDN'T IT!
  417.  
  418. -----
  419.  
  420. Please make check payable to Hugh M. McNally (I'm not a corporation yet).
  421. Please mail to:
  422.  
  423. Hugh M. McNally
  424. Reservoir Software
  425. 1 Cabin Ridge Road
  426. Chappaqua, NY 10514
  427.  
  428.  
  429. Remember, I promise to acknowledge the receipt of your money for MUDD.  I also
  430. promise to make you aware of any upgrades to it.  Thank you so much for your
  431. support!